package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "audio")
public class Audio implements Serializable {
    private ObjectId id;
    private Long created;//创建时间
    private String soundUrl;//语音地址
    private Long uesrId;

}
